tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.scfbuild: init at 1.0.3
Nikolay Amiantov
9 years ago
3ce3ff64
ac30c87d
+43
1 changed file
expand all
collapse all
unified
split
pkgs
top-level
python-packages.nix
+43
pkgs/top-level/python-packages.nix
···
8174
8174
};
8175
8175
};
8176
8176
8177
8177
+
scfbuild = self.buildPythonPackage rec {
8178
8178
+
name = "scfbuild-${version}";
8179
8179
+
version = "1.0.3";
8180
8180
+
8181
8181
+
disabled = isPy3k;
8182
8182
+
8183
8183
+
src = pkgs.fetchFromGitHub {
8184
8184
+
owner = "eosrei";
8185
8185
+
repo = "scfbuild";
8186
8186
+
rev = "c179c8d279b7cc0a9a3536a713ac880ac6010318";
8187
8187
+
sha256 = "1bsi7k4kkj914pycp1g92050hjxscyvc9qflqb3cv5yz3c93cs46";
8188
8188
+
};
8189
8189
+
8190
8190
+
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
8191
8191
+
8192
8192
+
propagatedBuildInputs = with self; [ pyyaml fonttools fontforge ];
8193
8193
+
8194
8194
+
installPhase = ''
8195
8195
+
mkdir -p $out/${python.sitePackages}
8196
8196
+
cp -r scfbuild $out/${python.sitePackages}
8197
8197
+
# Workaround for #16133
8198
8198
+
mkdir -p $out/bin
8199
8199
+
8200
8200
+
cat >$out/bin/scfbuild <<EOF
8201
8201
+
#!/usr/bin/env python2
8202
8202
+
8203
8203
+
import sys
8204
8204
+
from scfbuild.main import main
8205
8205
+
8206
8206
+
if __name__ == '__main__':
8207
8207
+
sys.exit(main())
8208
8208
+
EOF
8209
8209
+
8210
8210
+
chmod +x $out/bin/scfbuild
8211
8211
+
'';
8212
8212
+
8213
8213
+
meta = with stdenv.lib; {
8214
8214
+
description = "SVGinOT color font builder";
8215
8215
+
homepage = "https://github.com/eosrei/scfbuild";
8216
8216
+
license = licenses.gpl3;
8217
8217
+
maintainers = with maintainers; [ abbradar ];
8218
8218
+
};
8219
8219
+
};
8177
8220
8178
8221
substanced = buildPythonPackage rec {
8179
8222
# no release yet