git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.asn1ate: move to separate expression
commitf1ef53286d4e06ee3c53316ece702f9f5f0a3feb authorwisut hantanong <wizzup@gmail.com> dateFri 28 Jul 2017, 15:58 (9 years ago) parentb01adce
2 files changed+25−21
pkgs/development/python-modules/asn1ate/default.nix+24 pkgs/top-level/python-packages.nix+1−21
pkgs/development/python-modules/asn1ate/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, buildPythonPackage, fetchFromGitHub
2+, pyparsing }:
3+
4+buildPythonPackage rec {
5+ pname = "asn1ate";
6+ date = "20160810";
7+ name = "${pname}-unstable-${date}";
8+
9+ src = fetchFromGitHub {
10+ sha256 = "04pddr1mh2v9qq8fg60czwvjny5qwh4nyxszr3qc4bipiiv2xk9w";
11+ rev = "c56104e8912400135509b584d84423ee05a5af6b";
12+ owner = "kimgr";
13+ repo = pname;
14+ };
15+
16+ propagatedBuildInputs = [ pyparsing ];
17+
18+ meta = with stdenv.lib; {
19+ description = "Python library for translating ASN.1 into other forms";
20+ license = licenses.bsd3;
21+ platforms = platforms.linux;
22+ maintainers = with maintainers; [ leenaars ];
23+ };
24+}
pkgs/top-level/python-packages.nix+1−21
@@ -650,27 +650,7 @@ in {
650650
651651 async-timeout = callPackage ../development/python-modules/async_timeout { };
652652
653− asn1ate = buildPythonPackage rec {
654− pname = "asn1ate";
655− date = "20160810";
656− name = "${pname}-unstable-${date}";
657−
658− src = pkgs.fetchFromGitHub {
659− sha256 = "04pddr1mh2v9qq8fg60czwvjny5qwh4nyxszr3qc4bipiiv2xk9w";
660− rev = "c56104e8912400135509b584d84423ee05a5af6b";
661− owner = "kimgr";
662− repo = pname;
663− };
664−
665− propagatedBuildInputs = with self; [ pyparsing ];
666−
667− meta = with stdenv.lib; {
668− description = "Python library for translating ASN.1 into other forms";
669− license = licenses.bsd3;
670− platforms = platforms.linux;
671− maintainers = with maintainers; [ leenaars ];
672− };
673−};
653+ asn1ate = callPackage ../development/python-modules/asn1ate { };
674654
675655 atomiclong = buildPythonPackage rec {
676656 version = "0.1.1";