get: init at 1
This commit is contained in:
parent
e17fe65559
commit
71621bde53
@ -11,6 +11,7 @@ rec {
|
||||
charybdis = callPackage ./charybdis {};
|
||||
dic = callPackage ./dic {};
|
||||
genid = callPackage ./genid {};
|
||||
get = callPackage ./get {};
|
||||
github-hosts-sync = callPackage ./github-hosts-sync {};
|
||||
github-known_hosts = callPackage ./github-known_hosts {};
|
||||
hashPassword = callPackage ./hashPassword {};
|
||||
|
37
krebs/5pkgs/get/default.nix
Normal file
37
krebs/5pkgs/get/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ coreutils, gnugrep, gnused, fetchgit, jq, nix, stdenv, ... }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "get-1";
|
||||
|
||||
src = fetchgit {
|
||||
url = http://cgit.cd.retiolum/get;
|
||||
rev = "a39d54aa2e28d8b15a5879024f64f3f41dee9f3b";
|
||||
sha256 = "776836e7c5764e547fa46c7d0e14b9a9ccc26c43af288c51096f4073f17b7f32";
|
||||
};
|
||||
|
||||
phases = [
|
||||
"unpackPhase"
|
||||
"installPhase"
|
||||
];
|
||||
|
||||
installPhase =
|
||||
let
|
||||
path = stdenv.lib.makeSearchPath "bin" [
|
||||
coreutils
|
||||
gnugrep
|
||||
gnused
|
||||
jq
|
||||
nix
|
||||
];
|
||||
in
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
|
||||
sed \
|
||||
'1s,.*,&\nPATH=${path},' \
|
||||
< ./get \
|
||||
> $out/bin/get
|
||||
|
||||
chmod +x $out/bin/get
|
||||
'';
|
||||
}
|
@ -71,6 +71,7 @@ with lib;
|
||||
cac
|
||||
dic
|
||||
file
|
||||
get
|
||||
gitAndTools.qgit
|
||||
gnupg21
|
||||
haskellPackages.hledger
|
||||
|
@ -26,6 +26,7 @@ let
|
||||
cgserver = {};
|
||||
crude-mail-setup = {};
|
||||
dot-xmonad = {};
|
||||
get = {};
|
||||
hack = {};
|
||||
load-env = {};
|
||||
make-snapshot = {};
|
||||
|
Loading…
Reference in New Issue
Block a user