feat(advcp): add package
This commit is contained in:
parent
448f5723e5
commit
c58f383168
2 changed files with 25 additions and 0 deletions
24
pkgs/advcp/default.nix
Normal file
24
pkgs/advcp/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, fetchurl, fetchpatch, upstream ? "coreutils" }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "advcp";
|
||||||
|
version = "9.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
name = "source-${name}-${version}.tar.xz";
|
||||||
|
url = "ftp://ftp.gnu.org/gnu/${upstream}/${upstream}-${version}.tar.xz";
|
||||||
|
hash = "sha256-YaH0ENeLp+fzelpPUObRMgrKMzdUhKMlXt3xejhYBCM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/jarun/advcpmv/ea268d870b475edd5960dcd55d5378abc9705958/advcpmv-0.9-${version}.patch";
|
||||||
|
hash = "sha256-d+SRT/R4xmfHLAdOr7m4R3WFiW64P5ZH6iqDvErYCyg=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D src/cp $out/bin/advcp
|
||||||
|
install -D src/mv $out/bin/advmv
|
||||||
|
'';
|
||||||
|
}
|
|
@ -5,6 +5,7 @@
|
||||||
, ...
|
, ...
|
||||||
}: {
|
}: {
|
||||||
# example = pkgs.callPackage ./example { };
|
# example = pkgs.callPackage ./example { };
|
||||||
|
advcp = pkgs.callPackage ./advcp { };
|
||||||
fennel-language-server = pkgs.callPackage ./fennel-language-server { };
|
fennel-language-server = pkgs.callPackage ./fennel-language-server { };
|
||||||
parinfer-rust = pkgs.callPackage ./parinfer-rust { };
|
parinfer-rust = pkgs.callPackage ./parinfer-rust { };
|
||||||
swww = pkgs.callPackage ./swww { };
|
swww = pkgs.callPackage ./swww { };
|
||||||
|
|
Loading…
Reference in a new issue