commit
83a722a525
@ -1,11 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, python2Packages, help2man, installShellFiles }:
|
{ stdenv, fetchFromGitHub, python3Packages, help2man, installShellFiles }:
|
||||||
|
|
||||||
let
|
python3Packages.buildPythonApplication rec {
|
||||||
# py3 is supposedly working in version 0.9.3 but the tests fail so stick to py2
|
|
||||||
pypkgs = python2Packages;
|
|
||||||
|
|
||||||
in
|
|
||||||
pypkgs.buildPythonApplication rec {
|
|
||||||
pname = "crudini";
|
pname = "crudini";
|
||||||
version = "0.9.3";
|
version = "0.9.3";
|
||||||
|
|
||||||
@ -18,7 +13,7 @@ pypkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ help2man installShellFiles ];
|
nativeBuildInputs = [ help2man installShellFiles ];
|
||||||
|
|
||||||
propagatedBuildInputs = with pypkgs; [ iniparse ];
|
propagatedBuildInputs = with python3Packages; [ iniparse ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace crudini-help \
|
substituteInPlace crudini-help \
|
||||||
@ -48,7 +43,7 @@ pypkgs.buildPythonApplication rec {
|
|||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A utility for manipulating ini files ";
|
description = "A utility for manipulating ini files ";
|
||||||
homepage = "https://www.pixelbeat.org/programs/crudini/";
|
homepage = "https://www.pixelbeat.org/programs/crudini/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Only;
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user