package colors

This commit is contained in:
Daniel Olsen 2020-06-16 12:21:42 +02:00
parent 141fd89fd1
commit 88949116bc
2 changed files with 21 additions and 2 deletions

View File

@ -14,8 +14,7 @@
modules = import ./modules; # NixOS modules
overlays = import ./overlays; # nixpkgs overlays
# some-qt5-package = pkgs.libsForQt5.callPackage ./pkgs/some-qt5-package { };
# ...
colors = pkgs.callPackage ./pkgs/colors { };
rank_photos = pkgs.callPackage ./pkgs/rank_photos { };
JAVMovieScraper = pkgs.callPackage ./pkgs/JAVMovieScraper { };

20
pkgs/colors/default.nix Normal file
View File

@ -0,0 +1,20 @@
{ fetchgit, stdenv, libpng }:
stdenv.mkDerivation {
pname = "colors-latest";
version = "2018-04-15";
buildInputs = [ libpng ];
src = fetchgit {
url = "git://git.2f30.org/colors.git";
rev = "8edb1839c1d2a62fbd1d4447f802997896c2b0c0";
sha256 = "13dx6fq9m0imish8293j3wqi3ra0pahg4c2pcs3224bjcar2k0gc";
};
installPhase = ''
mkdir $out
make DESTDIR=$out PREFIX="" MANPREFIX="/share/man/" install
'';
}