mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #250056 from dotlambda/degit-buildNpmPackage
degit: use buildNpmPackage
This commit is contained in:
commit
c021404209
26
pkgs/applications/version-management/degit/default.nix
Normal file
26
pkgs/applications/version-management/degit/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "degit";
|
||||
version = "2.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Rich-Harris";
|
||||
repo = "degit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Vw/gtmKywi5faSCs7Wek80nmnqcPHXlQarD5qMwlsQE=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-42cM31C2c1Gr7HWOowMUTEUEyL0mGnyl5fyQECcz1Sw=";
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Rich-Harris/degit/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Make copies of git repositories";
|
||||
homepage = "https://github.com/Rich-Harris/degit";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kidonng ];
|
||||
};
|
||||
}
|
@ -60,6 +60,7 @@ mapAliases {
|
||||
inherit (pkgs) configurable-http-proxy; # added 2023-08-19
|
||||
inherit (pkgs) cordova; # added 2023-08-18
|
||||
dat = throw "dat was removed because it was broken"; # added 2023-08-21
|
||||
inherit (pkgs) degit; # added 2023-08-18
|
||||
inherit (pkgs) dockerfile-language-server-nodejs; # added 2023-08-18
|
||||
eask = pkgs.eask; # added 2023-08-17
|
||||
inherit (pkgs.elmPackages) elm-test;
|
||||
|
@ -100,7 +100,6 @@
|
||||
, "create-react-native-app"
|
||||
, "cspell"
|
||||
, "csslint"
|
||||
, "degit"
|
||||
, "dhcp"
|
||||
, "diagnostic-languageserver"
|
||||
, "diff2html-cli"
|
||||
|
18
pkgs/development/node-packages/node-packages.nix
generated
18
pkgs/development/node-packages/node-packages.nix
generated
@ -81161,24 +81161,6 @@ in
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
degit = nodeEnv.buildNodePackage {
|
||||
name = "degit";
|
||||
packageName = "degit";
|
||||
version = "2.8.4";
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/degit/-/degit-2.8.4.tgz";
|
||||
sha512 = "vqYuzmSA5I50J882jd+AbAhQtgK6bdKUJIex1JNfEUPENCgYsxugzKVZlFyMwV4i06MmnV47/Iqi5Io86zf3Ng==";
|
||||
};
|
||||
buildInputs = globalBuildInputs;
|
||||
meta = {
|
||||
description = "Straightforward project scaffolding";
|
||||
homepage = "https://github.com/Rich-Harris/degit#readme";
|
||||
license = "MIT";
|
||||
};
|
||||
production = true;
|
||||
bypassCache = true;
|
||||
reconstructLock = true;
|
||||
};
|
||||
dhcp = nodeEnv.buildNodePackage {
|
||||
name = "dhcp";
|
||||
packageName = "dhcp";
|
||||
|
@ -2160,6 +2160,8 @@ with pkgs;
|
||||
|
||||
darcs-to-git = callPackage ../applications/version-management/darcs-to-git { };
|
||||
|
||||
degit = callPackage ../applications/version-management/degit { };
|
||||
|
||||
delta = darwin.apple_sdk_11_0.callPackage ../applications/version-management/delta { };
|
||||
|
||||
diff-so-fancy = callPackage ../applications/version-management/diff-so-fancy { };
|
||||
|
Loading…
Reference in New Issue
Block a user