summary refs log tree commit diff
path: root/pkgs/tools/misc/clipster
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2017-01-10 21:10:44 +0100
committerBart Brouns <bart@magnetophon.nl>2017-01-10 21:20:08 +0100
commit71160a430defa103a9684c7d64a7c429164f4a80 (patch)
tree7e4fa968a9418aee811d3746fdafdba5c035bf51 /pkgs/tools/misc/clipster
parent0300418a6998058d45cd377ad81ea5c7ddb05ca2 (diff)
downloadnixpkgs-71160a430defa103a9684c7d64a7c429164f4a80.tar
nixpkgs-71160a430defa103a9684c7d64a7c429164f4a80.tar.gz
nixpkgs-71160a430defa103a9684c7d64a7c429164f4a80.tar.bz2
nixpkgs-71160a430defa103a9684c7d64a7c429164f4a80.tar.lz
nixpkgs-71160a430defa103a9684c7d64a7c429164f4a80.tar.xz
nixpkgs-71160a430defa103a9684c7d64a7c429164f4a80.tar.zst
nixpkgs-71160a430defa103a9684c7d64a7c429164f4a80.zip
clipster: use python3:
to work around https://github.com/mrichar1/clipster/issues/32
Diffstat (limited to 'pkgs/tools/misc/clipster')
-rw-r--r--pkgs/tools/misc/clipster/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/clipster/default.nix b/pkgs/tools/misc/clipster/default.nix
index 711e601234d..1425c725206 100644
--- a/pkgs/tools/misc/clipster/default.nix
+++ b/pkgs/tools/misc/clipster/default.nix
@@ -1,4 +1,4 @@
-{fetchFromGitHub , stdenv, makeWrapper, python, gtk3,  libwnck3 }:
+{fetchFromGitHub , stdenv, makeWrapper, python3, gtk3, libwnck3 }:
 
 stdenv.mkDerivation  rec {
   name = "clipster-unstable-${version}";
@@ -11,11 +11,12 @@ stdenv.mkDerivation  rec {
     sha256 = "005akgk1wn3z5vxfjii202zzwz85zydimfgm69ml68imj5vbhkg1";
   };
 
-  pythonEnv = python.withPackages(ps: with ps; [ dbus-python pygtk pygobject3 ]);
+  pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]);
 
   buildInputs =  [ pythonEnv gtk3 libwnck3 makeWrapper ];
 
   installPhase = ''
+    sed -i 's/python/python3/g' clipster
     mkdir -p $out/bin/
     cp clipster $out/bin/
     wrapProgram "$out/bin/clipster" \