Merge pull request #42065 from Mic92/pythonix
python.pkgs.pythonix: 0.1.0 -> 0.1.1
This commit is contained in:
commit
35b9df79e2
@ -1,21 +1,26 @@
|
|||||||
{ stdenv, fetchFromGitHub, ninja, meson, pkgconfig, nixUnstable, isPy3k }:
|
{ stdenv, fetchFromGitHub, ninja, boost, meson, pkgconfig, nix, isPy3k }:
|
||||||
|
|
||||||
assert isPy3k;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pythonix-${version}";
|
name = "pythonix-${version}";
|
||||||
version = "0.1.0";
|
version = "0.1.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mic92";
|
owner = "Mic92";
|
||||||
repo = "pythonix";
|
repo = "pythonix";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1piblysypyr442a6najk4mdh87xc377i2fdbfw6fr569z60mnnnj";
|
sha256 = "1q1fagfwzvmcm1n3a0liay7m5krazmhw9l001m90rrz2x7vrsqwk";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson pkgconfig ninja ];
|
disabled = !isPy3k;
|
||||||
|
|
||||||
buildInputs = [ nixUnstable ];
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||||
|
|
||||||
|
buildInputs = [ nix boost ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
ninja test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = ''
|
description = ''
|
||||||
@ -23,6 +28,5 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
maintainers = [ maintainers.mic92 ];
|
maintainers = [ maintainers.mic92 ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user