nixpkgs/pkgs/development/python-modules/asn1ate/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
598 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 = pname;
};
propagatedBuildInputs = [ pyparsing ];
meta = with lib; {
description = "Python library for translating ASN.1 into other forms";
mainProgram = "asn1ate";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ leenaars ];
};
}