nix-upgrade-scripts: init at 0.0.4
This commit is contained in:
parent
1faa5b6b36
commit
15d2cf5494
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, nix }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nix-upgrade-scripts-${version}";
|
||||
version = "0.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "peterhoeg";
|
||||
repo = "nix-upgrade-scripts";
|
||||
rev = "v${version}";
|
||||
sha256 = "13v91nniwrs1fr92msrq6sq7vy1whrlxqd1ll4q3p1nrnbzpnxkn";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r bin lib $out/
|
||||
for f in $out/bin/* ; do
|
||||
substituteInPlace $f \
|
||||
--replace '/usr/bin/env nix-shell' ${nix}/bin/nix-shell
|
||||
done
|
||||
chmod +x $out/bin/*
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Scripts for making package upgrades easier";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -19146,6 +19146,8 @@ with pkgs;
|
||||
|
||||
nix-serve = callPackage ../tools/package-management/nix-serve { };
|
||||
|
||||
nix-upgrade-scripts = callPackages ../tools/package-management/nix-upgrade-scripts { };
|
||||
|
||||
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
|
||||
nixos-icons = callPackage ../data/misc/nixos-artwork/icons.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user