3
0
Fork 0
forked from mirrors/nixpkgs

python3.pkgs.unicorn: enable python3

This commit is contained in:
Jörg Thalheim 2018-12-01 11:00:16 +00:00
parent 28af9e45b0
commit 5e9922e800
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
{ stdenv, buildPackages, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
name = "${pname}-${version}";
@ -10,7 +10,8 @@ buildPythonPackage rec {
sha256 = "0a5b4vh734b3wfkgapzzf8x18rimpmzvwwkly56da84n27wfw9bg";
};
disabled = isPy3k;
# needs python2 at build time
PYTHON="${buildPackages.python2.interpreter}";
setupPyBuildFlags = [ "--plat-name" "linux" ];