python.pkgs.asn1ate: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-28 15:58:39 +07:00
parent b01adce061
commit f1ef53286d
2 changed files with 25 additions and 21 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, pyparsing }:
buildPythonPackage rec {
pname = "asn1ate";
date = "20160810";
name = "${pname}-unstable-${date}";
src = fetchFromGitHub {
sha256 = "04pddr1mh2v9qq8fg60czwvjny5qwh4nyxszr3qc4bipiiv2xk9w";
rev = "c56104e8912400135509b584d84423ee05a5af6b";
owner = "kimgr";
repo = pname;
};
propagatedBuildInputs = [ pyparsing ];
meta = with stdenv.lib; {
description = "Python library for translating ASN.1 into other forms";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ leenaars ];
};
}

View file

@ -650,27 +650,7 @@ in {
async-timeout = callPackage ../development/python-modules/async_timeout { };
asn1ate = buildPythonPackage rec {
pname = "asn1ate";
date = "20160810";
name = "${pname}-unstable-${date}";
src = pkgs.fetchFromGitHub {
sha256 = "04pddr1mh2v9qq8fg60czwvjny5qwh4nyxszr3qc4bipiiv2xk9w";
rev = "c56104e8912400135509b584d84423ee05a5af6b";
owner = "kimgr";
repo = pname;
};
propagatedBuildInputs = with self; [ pyparsing ];
meta = with stdenv.lib; {
description = "Python library for translating ASN.1 into other forms";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ leenaars ];
};
};
asn1ate = callPackage ../development/python-modules/asn1ate { };
atomiclong = buildPythonPackage rec {
version = "0.1.1";