mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
codepy: init at 2019.1
This commit is contained in:
parent
2ea2f7b6d0
commit
319165e421
35
pkgs/development/python-modules/codepy/default.nix
Normal file
35
pkgs/development/python-modules/codepy/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytools
|
||||
, appdirs
|
||||
, six
|
||||
, cgen
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "codepy";
|
||||
version = "2019.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inducer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-viMfB/nDrvDA/IGRZEX+yXylxbbmqbh/fgdYXBzK0zM=";
|
||||
};
|
||||
|
||||
buildInputs = [ pytools six cgen ];
|
||||
propagatedBuildInputs = [ appdirs ];
|
||||
|
||||
pythonImportsCheck = [ "codepy" ];
|
||||
|
||||
# Tests are broken
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/inducer/codepy";
|
||||
description = "Generate and execute native code at run time, from Python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ atila ];
|
||||
};
|
||||
}
|
@ -1779,6 +1779,8 @@ in {
|
||||
|
||||
codecov = callPackage ../development/python-modules/codecov { };
|
||||
|
||||
codepy = callPackage ../development/python-modules/codepy { };
|
||||
|
||||
codespell = callPackage ../development/python-modules/codespell { };
|
||||
|
||||
cogapp = callPackage ../development/python-modules/cogapp { };
|
||||
|
Loading…
Reference in New Issue
Block a user