blob: 0e74a20976cc6a24f7f8aea73f2726fe90c16242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
name = "snap-git";
src = fetchFromGitHub {
owner = "amplab";
repo = "snap";
rev = "669a341cfa5c3e0a80098bf5aa51e3332f868d2b";
sha256 = "1810d8wn88wbagip7hlnwwg7z6jqyiyfnnvdiir06s3rrmn95mjh";
};
buildInputs = [ zlib ];
postConfigure = ''
sed -i 's/-Wno-format/-Wformat/g' Makefile
'';
installPhase = ''
mkdir -p $out/bin
cp snap-aligner $out/bin
'';
}
|