mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Merge pull request #96713 from jonringer/add-nix-template
nix-template: init at 0.1.0
This commit is contained in:
commit
54e64ac035
23
pkgs/tools/package-management/nix-template/default.nix
Normal file
23
pkgs/tools/package-management/nix-template/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user