generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmix.nix
36 lines (32 loc) · 870 Bytes
/
cmix.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, llvmPackages
, fetchFromGitHub
}:
llvmPackages.stdenv.mkDerivation rec {
pname = "cmix";
version = "19.1";
src = fetchFromGitHub {
owner = "byronknoll";
repo = "cmix";
# fix: src/models/ppmd.cpp:1314:7: error: use of undeclared identifier 'printf'
/*
rev = "v${version}";
hash = "sha256-j6gYonAVuG2Z69Rl77Pn1ei7ApA7ExT4X2txbp96+Is=";
*/
rev = "7d03c6c9981e52f04ec9c57fd8e172859d41e722";
hash = "sha256-NI6nzYSlUpeZT8El4u7gw7zS3ZwUeQBMx+0BPI/Bd7A=";
};
# # benchmark helper
# mkdir -p $out/share/doc/cmix
# cp enwik9-preproc $out/share/doc/cmix
installPhase = ''
mkdir -p $out/bin
cp cmix $out/bin
'';
meta = with lib; {
description = "file compressor";
homepage = "https://github.com/byronknoll/cmix";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
};
}