smmap2: init at 2.0.3
This commit adds smmap2, which is a separate pypi package from the existing smmap 0.9.0, though they both come from the same repo. It also moves smmap into the new python modules location.
This commit is contained in:
parent
6131989a7d
commit
68573a61a9
19
pkgs/development/python-modules/smmap/default.nix
Normal file
19
pkgs/development/python-modules/smmap/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, nosexcover }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smmap";
|
||||
version = "0.9.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qlx25f6n2n9ff37w9gg62f217fzj16xlbh0pkz0lpxxjys64aqf";
|
||||
};
|
||||
|
||||
checkInputs = [ nosexcover ];
|
||||
|
||||
meta = {
|
||||
description = "A pure python implementation of a sliding window memory map manager";
|
||||
homepage = https://github.com/gitpython-developers/smmap;
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
20
pkgs/development/python-modules/smmap2/default.nix
Normal file
20
pkgs/development/python-modules/smmap2/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, nosexcover }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smmap2";
|
||||
version = "2.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hvn28p3zvxa98sbi9lrqvv2ps4q284j4jq9a619zw0m7yv0sly7";
|
||||
};
|
||||
|
||||
checkInputs = [ nosexcover ];
|
||||
|
||||
meta = {
|
||||
description = "A pure python implementation of a sliding window memory map manager";
|
||||
homepage = https://pypi.org/project/smmap2;
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -14241,18 +14241,9 @@ in {
|
|||
|
||||
tqdm = callPackage ../development/python-modules/tqdm { };
|
||||
|
||||
smmap = buildPythonPackage rec {
|
||||
name = "smmap-0.9.0";
|
||||
disabled = isPyPy; # This fails the tests if built with pypy
|
||||
meta.maintainers = with maintainers; [ ];
|
||||
smmap = callPackage ../development/python-modules/smmap { };
|
||||
|
||||
buildInputs = with self; [ nosexcover ];
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/smmap/${name}.tar.gz";
|
||||
sha256 = "0qlx25f6n2n9ff37w9gg62f217fzj16xlbh0pkz0lpxxjys64aqf";
|
||||
};
|
||||
};
|
||||
smmap2 = callPackage ../development/python-modules/smmap2 { };
|
||||
|
||||
traits = buildPythonPackage rec {
|
||||
name = "traits-${version}";
|
||||
|
|
Loading…
Reference in a new issue