mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
cde: init at 0.1
This commit is contained in:
parent
3878242ed0
commit
d09ed00e2d
34
pkgs/tools/package-management/cde/default.nix
Normal file
34
pkgs/tools/package-management/cde/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv, fetchgit }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "cde-0.1";
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/pgbovine/CDE.git";
|
||||||
|
sha256 = "";
|
||||||
|
rev = "551e54d95eb3f8eefc698891f1b873fc4f02f360";
|
||||||
|
};
|
||||||
|
|
||||||
|
# The build is small, so there should be no problem
|
||||||
|
# running this locally. There is also a use case for
|
||||||
|
# older systems, where modern binaries might not be
|
||||||
|
# useful.
|
||||||
|
preferLocalBuild = true;
|
||||||
|
|
||||||
|
patchBuild = ''
|
||||||
|
sed '/install/d' $src/Makefile > $src/Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp cde $out/bin
|
||||||
|
cp cde-exec $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/pgbovine/CDE";
|
||||||
|
description = "A packaging tool for building portable packages";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.rlupton20 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -736,6 +736,8 @@ with pkgs;
|
|||||||
|
|
||||||
catclock = callPackage ../applications/misc/catclock { };
|
catclock = callPackage ../applications/misc/catclock { };
|
||||||
|
|
||||||
|
cde = callPackage ../tools/package-management/cde { };
|
||||||
|
|
||||||
cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { };
|
cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { };
|
||||||
|
|
||||||
cdemu-client = callPackage ../misc/emulators/cdemu/client.nix { };
|
cdemu-client = callPackage ../misc/emulators/cdemu/client.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user