git.iko.soy/typeable/nixpkgs
on master help sign in
cde: init at 0.1
commitd09ed00e2ded5fe545402d347669baee47da7e70 authorRichard Lupton <richard.lupton@gmail.com> dateWed 22 Mar 2017, 22:44 (10 years ago) parent3878242
2 files changed+36
pkgs/tools/package-management/cde/default.nix+34 pkgs/top-level/all-packages.nix+2
pkgs/tools/package-management/cde/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, fetchgit }:
2+
3+stdenv.mkDerivation {
4+ name = "cde-0.1";
5+ src = fetchgit {
6+ url = "https://github.com/pgbovine/CDE.git";
7+ sha256 = "";
8+ rev = "551e54d95eb3f8eefc698891f1b873fc4f02f360";
9+ };
10+
11+ # The build is small, so there should be no problem
12+ # running this locally. There is also a use case for
13+ # older systems, where modern binaries might not be
14+ # useful.
15+ preferLocalBuild = true;
16+
17+ patchBuild = ''
18+ sed '/install/d' $src/Makefile > $src/Makefile
19+ '';
20+
21+ installPhase = ''
22+ mkdir -p $out/bin
23+ cp cde $out/bin
24+ cp cde-exec $out/bin
25+ '';
26+
27+ meta = with stdenv.lib; {
28+ homepage = "https://github.com/pgbovine/CDE";
29+ description = "A packaging tool for building portable packages";
30+ license = licenses.gpl3;
31+ maintainers = [ maintainers.rlupton20 ];
32+ platforms = platforms.linux;
33+ };
34+}
pkgs/top-level/all-packages.nix+2
@@ -736,6 +736,8 @@ with pkgs;
736736
737737 catclock = callPackage ../applications/misc/catclock { };
738738
739+ cde = callPackage ../tools/package-management/cde { };
740+
739741 cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { };
740742
741743 cdemu-client = callPackage ../misc/emulators/cdemu/client.nix { };