git.iko.soy/typeable/nixpkgs
on master help sign in
pywal: init at 2.0.5 (#38443)
commitff5baea979b81cd3324580a6e182a8019337fe7e authorIsaac Shapira <fresheyeball@gmail.com> dateFri 6 Apr 2018, 01:57 (9 years ago) parent098c851
3 files changed+35
maintainers/maintainer-list.nix+5 pkgs/tools/graphics/pywal/default.nix+28 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -72,6 +72,11 @@
7272 github = "FireyFly";
7373 name = "Jonas Höglund";
7474 };
75+ Fresheyeball = {
76+ email = "fresheyeball@gmail.com";
77+ github = "fresheyeball";
78+ name = "Isaac Shapira";
79+ };
7580 Gonzih = {
7681 email = "gonzih@gmail.com";
7782 github = "Gonzih";
pkgs/tools/graphics/pywal/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, python3Packages, fetchFromGitHub, imagemagick, feh }:
2+
3+python3Packages.buildPythonApplication rec {
4+ pname = "pywal";
5+ version = "2.0.5";
6+
7+ src = python3Packages.fetchPypi {
8+ inherit pname version;
9+ sha256 = "117f61db013409ee2657aab9230cc5c2cb2b428c17f7fbcf664909122962165e";
10+ };
11+
12+ # necessary for imagemagick to be found during tests
13+ buildInputs = [ imagemagick ];
14+
15+ makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ imagemagick feh ]}" ];
16+
17+ preCheck = ''
18+ mkdir tmp
19+ HOME=$PWD/tmp
20+ '';
21+
22+ meta = with lib; {
23+ description = "Generate and change colorschemes on the fly. A 'wal' rewrite in Python 3.";
24+ homepage = https://github.com/dylanaraps/pywal;
25+ license = licenses.mit;
26+ maintainers = with maintainers; [ Fresheyeball ];
27+ };
28+}
pkgs/top-level/all-packages.nix+2
@@ -4449,6 +4449,8 @@ with pkgs;
44494449
44504450 pytrainer = callPackage ../applications/misc/pytrainer { };
44514451
4452+ pywal = callPackage ../tools/graphics/pywal {};
4453+
44524454 remarshal = callPackage ../development/tools/remarshal { };
44534455
44544456 rtaudio = callPackage ../development/libraries/audio/rtaudio { };