Merge master into staging
This commit is contained in:
@@ -9,11 +9,11 @@ let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="asymptote";
|
||||
version="2.41";
|
||||
version="2.42";
|
||||
name="${baseName}-${version}";
|
||||
hash="1w7fbq6gy65g0mxg6wdxi7v178c5yxvh9yrnv3bzm4sjzf4pwvhx";
|
||||
url="https://freefr.dl.sourceforge.net/project/asymptote/2.41/asymptote-2.41.src.tgz";
|
||||
sha256="1w7fbq6gy65g0mxg6wdxi7v178c5yxvh9yrnv3bzm4sjzf4pwvhx";
|
||||
hash="0dprc4shzdpvp87kc97ggh5ay2zmskjjaciay7mnblx63rhk1d95";
|
||||
url="https://freefr.dl.sourceforge.net/project/asymptote/2.42/asymptote-2.42.src.tgz";
|
||||
sha256="0dprc4shzdpvp87kc97ggh5ay2zmskjjaciay7mnblx63rhk1d95";
|
||||
};
|
||||
buildInputs = [
|
||||
ghostscriptX imagemagick fftw
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{ lib, python3Packages, fetchFromGitHub, imagemagick, feh }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pywal";
|
||||
version = "2.0.5";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "117f61db013409ee2657aab9230cc5c2cb2b428c17f7fbcf664909122962165e";
|
||||
};
|
||||
|
||||
# necessary for imagemagick to be found during tests
|
||||
buildInputs = [ imagemagick ];
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ imagemagick feh ]}" ];
|
||||
|
||||
preCheck = ''
|
||||
mkdir tmp
|
||||
HOME=$PWD/tmp
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate and change colorschemes on the fly. A 'wal' rewrite in Python 3.";
|
||||
homepage = https://github.com/dylanaraps/pywal;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Fresheyeball ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user