python3Packages.pyp: init at 0.3.4
This commit is contained in:
parent
c5ccc212eb
commit
0a192fa3bc
43
pkgs/development/python-modules/pyp/default.nix
Normal file
43
pkgs/development/python-modules/pyp/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, coreutils
|
||||
, pythonOlder
|
||||
, astunparse
|
||||
, jq
|
||||
, bc
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyp";
|
||||
version = "0.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hauntsaninja";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-K9dGmvy4siurmhqwNfg1dT0TWc6tCSaxfPyaJkYM2Vw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.9") [
|
||||
astunparse
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
coreutils
|
||||
jq
|
||||
bc
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easily run Python at the shell! Magical, but never mysterious.";
|
||||
homepage = "https://github.com/hauntsaninja/pyp";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rmcgibbo ];
|
||||
};
|
||||
}
|
@ -6551,6 +6551,10 @@ in {
|
||||
|
||||
pyomo = callPackage ../development/python-modules/pyomo { };
|
||||
|
||||
pyp = callPackage ../development/python-modules/pyp {
|
||||
inherit (pkgs) jq;
|
||||
};
|
||||
|
||||
phonemizer = callPackage ../development/python-modules/phonemizer { };
|
||||
|
||||
pyopencl = callPackage ../development/python-modules/pyopencl {
|
||||
|
Loading…
Reference in New Issue
Block a user