1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

deadpixi-sam: 2016-10-08 -> 2017-10-27

This commit is contained in:
Dmitry Kalinkin 2018-01-19 00:36:35 -05:00
parent 88b485a062
commit 6892838da0
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -1,17 +1,15 @@
{ stdenv, fetchFromGitHub, freetype, libX11, libXt, libXft
, version ? "2016-10-08"
, rev ? "a17c4a9c2a1af2de0a756fe16d482e0db88c0541"
, sha256 ? "03xmfzlijz4gbmr7l0pb1gl9kmlz1ab3hr8d51innvlasy4g6xgj"
}:
{ stdenv, fetchFromGitHub, freetype, libX11, libXi, libXt, libXft }:
stdenv.mkDerivation rec {
inherit version;
version = "2017-10-27";
name = "deadpixi-sam-unstable-${version}";
src = fetchFromGitHub {
inherit sha256 rev;
owner = "deadpixi";
repo = "sam";
};
src = fetchFromGitHub {
owner = "deadpixi";
repo = "sam";
rev = "51693780fb1457913389db6634163998f9b775b8";
sha256 = "0nfkj93j4bgli4ixbk041nwi14rabk04kqg8krq4mj0044m1qywr";
};
postPatch = ''
substituteInPlace config.mk.def \
@ -21,7 +19,7 @@ stdenv.mkDerivation rec {
CFLAGS = "-D_DARWIN_C_SOURCE";
makeFlags = [ "DESTDIR=$(out)" ];
buildInputs = [ libX11 libXt libXft ];
buildInputs = [ libX11 libXi libXt libXft ];
postInstall = ''
mkdir -p $out/share/applications