pythonPackages.crcmod: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 19:52:57 +02:00 committed by Frederik Rietdijk
parent a7b6d5c960
commit 6361a50103
2 changed files with 18 additions and 12 deletions

View File

@ -0,0 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "crcmod";
version = "1.7";
src = fetchPypi {
inherit pname version;
sha256 = "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w";
};
meta = with stdenv.lib; {
description = "Python module for generating objects that compute the Cyclic Redundancy Check (CRC)";
homepage = http://crcmod.sourceforge.net/;
license = licenses.mit;
};
}

View File

@ -1655,18 +1655,7 @@ in {
covCore = callPackage ../development/python-modules/cov-core { };
crcmod = buildPythonPackage rec {
name = "crcmod-1.7";
src = pkgs.fetchurl {
url = mirror://pypi/c/crcmod/crcmod-1.7.tar.gz;
sha256 = "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w";
};
meta = {
description = "Python module for generating objects that compute the Cyclic Redundancy Check (CRC)";
homepage = http://crcmod.sourceforge.net/;
license = licenses.mit;
};
};
crcmod = callPackage ../development/python-modules/crcmod { };
credstash = callPackage ../development/python-modules/credstash { };