diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-27 13:04:03 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-27 13:04:03 +0100 |
commit | 3c767fe9a72cdf9f0b51a5532693c217b5df4fe9 (patch) | |
tree | 0fd1a32650810ba0fd792aaec71bd314089d9fe4 /pkgs/xccp | |
parent | 85b32a415882f6d1c45e4c4fd888f33fc5ce83a5 (diff) | |
download | pnpkgs-3c767fe9a72cdf9f0b51a5532693c217b5df4fe9.tar.gz pnpkgs-3c767fe9a72cdf9f0b51a5532693c217b5df4fe9.zip |
Add xccp
Diffstat (limited to 'pkgs/xccp')
-rw-r--r-- | pkgs/xccp/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/xccp/default.nix b/pkgs/xccp/default.nix new file mode 100644 index 0000000..ba89a28 --- /dev/null +++ b/pkgs/xccp/default.nix @@ -0,0 +1,15 @@ +{ stdenv, fetchFromGitHub, libX11 }: +stdenv.mkDerivation { + name = "xccp"; + + src = fetchFromGitHub { + repo = "xccp"; + owner = "hohmannr"; + rev = "42dac1a6cd7b0ba779c1770664e003371400c1f8"; + sha256 = "1yw0g97r2irzbnwl6kj5p8f8s1iylm7yazfbi1kwhk55fazczq1v"; + }; + + buildInputs = [ libX11 ]; + buildPhase = "make CC=${stdenv.cc}/bin/gcc"; + installPhase = "make install INSTALL_DIR=$out/bin"; +} |