mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.asdf: init at 2.3.3
This commit is contained in:
parent
bd82932de3
commit
504134a4a0
2 changed files with 49 additions and 0 deletions
47
pkgs/development/python-modules/asdf/default.nix
Normal file
47
pkgs/development/python-modules/asdf/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest-astropy
|
||||
, semantic-version
|
||||
, pyyaml
|
||||
, jsonschema
|
||||
, six
|
||||
, numpy
|
||||
, isPy27
|
||||
, astropy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asdf";
|
||||
version = "2.3.3";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d02e936a83abd206e7bc65050d94e8848da648344dbec9e49dddc2bdc3bd6870";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest-astropy
|
||||
astropy
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
semantic-version
|
||||
pyyaml
|
||||
jsonschema
|
||||
six
|
||||
numpy
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python tools to handle ASDF files";
|
||||
homepage = https://github.com/spacetelescope/asdf;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -175,6 +175,8 @@ in {
|
|||
|
||||
asana = callPackage ../development/python-modules/asana { };
|
||||
|
||||
asdf = callPackage ../development/python-modules/asdf { };
|
||||
|
||||
asciimatics = callPackage ../development/python-modules/asciimatics { };
|
||||
|
||||
asciitree = callPackage ../development/python-modules/asciitree { };
|
||||
|
|
Loading…
Reference in a new issue