Merge pull request #105398 from bhipple/add/qmk
This commit is contained in:
commit
f26d039b9d
@ -1,6 +1,8 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pythonImportsCheckHook
|
||||||
|
, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -15,6 +17,15 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1jc7j790rcqnhbrfj4lhnz3f6768dc55aij840wmx16jylfqpc2n";
|
sha256 = "1jc7j790rcqnhbrfj4lhnz3f6768dc55aij840wmx16jylfqpc2n";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper pythonImportsCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "hjson" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
rm $out/bin/hjson.cmd
|
||||||
|
wrapProgram $out/bin/hjson --set PYTHONPATH "$PYTHONPATH"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A user interface for JSON";
|
description = "A user interface for JSON";
|
||||||
homepage = "https://github.com/hjson/hjson-py";
|
homepage = "https://github.com/hjson/hjson-py";
|
||||||
|
Loading…
Reference in New Issue
Block a user