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
43
pkgs/servers/pinnwand/steck.nix
Normal file
43
pkgs/servers/pinnwand/steck.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, python3Packages
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "steck";
|
||||
version = "0.7.0";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1a3l427ibwck9zzzy1sp10hmjgminya08i4r9j4559qzy7lxghs1";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'click>=7.0,<8.0' 'click'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pkgs.git
|
||||
appdirs
|
||||
click
|
||||
python-magic
|
||||
requests
|
||||
termcolor
|
||||
toml
|
||||
];
|
||||
|
||||
# tests are not in pypi package
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = nixosTests.pinnwand;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/supakeen/steck";
|
||||
license = licenses.mit;
|
||||
description = "Client for pinnwand pastebin";
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue