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