trash-cli: 0.20.11.7 -> 0.20.11.23
This commit is contained in:
parent
d06276eb8d
commit
aeadb4c3f5
@ -1,27 +1,17 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch, coreutils
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
||||||
, python3Packages, substituteAll }:
|
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "trash-cli";
|
pname = "trash-cli";
|
||||||
version = "0.20.11.7";
|
version = "0.20.11.23";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "andreafrancia";
|
owner = "andreafrancia";
|
||||||
repo = "trash-cli";
|
repo = "trash-cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0083vagy0jkahb5sw1il7r53ggk45zbjwwjsqd76v7ph3v1awf4v";
|
sha256 = "1fjkmpnbpzxniypql68cpwc2rrnih8b34p8pzabrf55f49wcmcph";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
propagatedBuildInputs = [ python3Packages.psutil ];
|
||||||
(substituteAll {
|
|
||||||
src = ./nix-paths.patch;
|
|
||||||
df = "${coreutils}/bin/df";
|
|
||||||
libc =
|
|
||||||
if stdenv.hostPlatform.isDarwin
|
|
||||||
then "/usr/lib/libSystem.dylib"
|
|
||||||
else "${stdenv.cc.libc}/lib/libc.so.6";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = with python3Packages; [
|
checkInputs = with python3Packages; [
|
||||||
nose
|
nose
|
||||||
|
Loading…
Reference in New Issue
Block a user