Merge pull request #96713 from jonringer/add-nix-template

nix-template: init at 0.1.0
This commit is contained in:
Daniël de Kok 2020-08-31 09:17:09 +02:00 committed by GitHub
commit 54e64ac035
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "nix-template";
version = "0.1.0";
src = fetchFromGitHub {
owner = "jonringer";
repo = pname;
rev = "v${version}";
sha256 = "1h6xdvhzg7nb0s82b3r5bsh8bfdb1l5sm7fa24lfwd396xp9yyig";
};
cargoSha256 = "13y3b60xnry71999kygvkr29gkyjss3ga3rzb43ajah4qp90rsqs";
meta = with lib; {
description = "Make creating nix expressions easy";
homepage = "https://github.com/jonringer/nix-template/";
changelog = "https://github.com/jonringer/nix-template/releases/tag/v${version}";
license = licenses.cc0;
maintainers = with maintainers; [ jonringer ];
};
}

View file

@ -2241,6 +2241,8 @@ in
nix-direnv = callPackage ../tools/misc/nix-direnv { };
nix-template = callPackage ../tools/package-management/nix-template { };
nixpkgs-pytools = with python3.pkgs; toPythonApplication nixpkgs-pytools;
noteshrink = callPackage ../tools/misc/noteshrink { };