Merge pull request #33718 from magnetophon/clipster
clipster: 1.4.1 -> 1.5.0
This commit is contained in:
commit
e401af5f98
1 changed files with 5 additions and 7 deletions
|
@ -1,27 +1,25 @@
|
||||||
{fetchFromGitHub , stdenv, makeWrapper, python3, gtk3, libwnck3 }:
|
{fetchFromGitHub , stdenv, python3, gtk3, libwnck3,
|
||||||
|
gobjectIntrospection, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "clipster-${version}";
|
name = "clipster-${version}";
|
||||||
version = "1.4.1";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mrichar1";
|
owner = "mrichar1";
|
||||||
repo = "clipster";
|
repo = "clipster";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "16gdrm985qwbrsmsqjfyh33glcmx678abl2jpq49djk2qrbhm49k";
|
sha256 = "0bj7fk19z3c29vxm3mcp3s7vggkigmz3hrn4pcsqgfh96i5i5203";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]);
|
pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]);
|
||||||
|
|
||||||
buildInputs = [ pythonEnv gtk3 libwnck3 ];
|
buildInputs = [ pythonEnv gtk3 libwnck3 gobjectIntrospection wrapGAppsHook ];
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
sed -i 's/python/python3/g' clipster
|
sed -i 's/python/python3/g' clipster
|
||||||
mkdir -p $out/bin/
|
mkdir -p $out/bin/
|
||||||
cp clipster $out/bin/
|
cp clipster $out/bin/
|
||||||
wrapProgram "$out/bin/clipster" \
|
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue