blob: 7c8d51f2f43ea1115a92d248c062b4816feb27e8 (
plain) (
blame)
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
|
{ stdenv, fetchFromGitHub, ninja, boost, meson, pkgconfig, nix, isPy3k }:
stdenv.mkDerivation rec {
name = "pythonix-${version}";
version = "0.1.4";
src = fetchFromGitHub {
owner = "Mic92";
repo = "pythonix";
rev = "v${version}";
sha256 = "1q1fagfwzvmcm1n3a0liay7m5krazmhw9l001m90rrz2x7vrsqwk";
};
disabled = !isPy3k;
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ nix boost ];
checkPhase = ''
ninja test
'';
meta = with stdenv.lib; {
description = ''
Eval nix code from python.
'';
maintainers = [ maintainers.mic92 ];
license = licenses.mit;
};
}
|