567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
29 lines
560 B
Nix
29 lines
560 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pyparsing,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asn1ate";
|
|
format = "setuptools";
|
|
version = "0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1p8hv4gsyqsdr0gafcq497n52pybiqmc22di8ai4nsj60fv0km45";
|
|
rev = "v${version}";
|
|
owner = "kimgr";
|
|
repo = "asn1ate";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyparsing ];
|
|
|
|
meta = {
|
|
description = "Python library for translating ASN.1 into other forms";
|
|
mainProgram = "asn1ate";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|