uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
41
pkgs/development/python-modules/asn1tools/default.nix
Normal file
41
pkgs/development/python-modules/asn1tools/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, bitstruct
|
||||
, diskcache
|
||||
, prompt-toolkit
|
||||
, pyparsing
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asn1tools";
|
||||
version = "0.163.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eerimoq";
|
||||
repo = "asn1tools";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-sbwwbwkhlZvCb2emuw1FTBj5pnv9SOtHpAcYPSQqIvM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bitstruct
|
||||
diskcache
|
||||
prompt-toolkit
|
||||
pyparsing
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} setup.py test
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "asn1tools" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ASN.1 parsing, encoding and decoding";
|
||||
homepage = "https://github.com/eerimoq/asn1tools";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue