pythonPackages.roman: refactor move to python-modules
This commit is contained in:
parent
35ef822992
commit
89575266d3
22
pkgs/development/python-modules/roman/default.nix
Normal file
22
pkgs/development/python-modules/roman/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "2.0.0";
|
||||||
|
pname = "roman";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
extension = "zip";
|
||||||
|
sha256 = "90e83b512b44dd7fc83d67eb45aa5eb707df623e6fc6e66e7f273abd4b2613ae";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Integer to Roman numerals converter";
|
||||||
|
homepage = "https://pypi.python.org/pypi/roman";
|
||||||
|
license = licenses.psfl;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2139,27 +2139,7 @@ in {
|
|||||||
|
|
||||||
rethinkdb = callPackage ../development/python-modules/rethinkdb { };
|
rethinkdb = callPackage ../development/python-modules/rethinkdb { };
|
||||||
|
|
||||||
roman = buildPythonPackage rec {
|
roman = callPackage ../development/python-modules/roman { };
|
||||||
version = "2.0.0";
|
|
||||||
name = "roman-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/r/roman/${name}.zip";
|
|
||||||
sha256 = "90e83b512b44dd7fc83d67eb45aa5eb707df623e6fc6e66e7f273abd4b2613ae";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; with pkgs; [ ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Integer to Roman numerals converter";
|
|
||||||
homepage = "https://pypi.python.org/pypi/roman";
|
|
||||||
license = licenses.psfl;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
librosa = buildPythonPackage rec {
|
librosa = buildPythonPackage rec {
|
||||||
pname = "librosa";
|
pname = "librosa";
|
||||||
|
Loading…
Reference in New Issue
Block a user