about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2017-03-19 15:06:13 +0100
committerGitHub <noreply@github.com>2017-03-19 15:06:13 +0100
commitb1f7157675cdd67f839d39ee1eb7418d34161bd1 (patch)
tree1dd1565a1dbe428ba302610f4dbcfc3630b2ac41 /pkgs/applications/graphics
parent6405cb2ea94baaf7d98e824056eef0454583d349 (diff)
parent98b9b07a98414805241944a9c7b7087a813099f9 (diff)
downloadnixlib-b1f7157675cdd67f839d39ee1eb7418d34161bd1.tar
nixlib-b1f7157675cdd67f839d39ee1eb7418d34161bd1.tar.gz
nixlib-b1f7157675cdd67f839d39ee1eb7418d34161bd1.tar.bz2
nixlib-b1f7157675cdd67f839d39ee1eb7418d34161bd1.tar.lz
nixlib-b1f7157675cdd67f839d39ee1eb7418d34161bd1.tar.xz
nixlib-b1f7157675cdd67f839d39ee1eb7418d34161bd1.tar.zst
nixlib-b1f7157675cdd67f839d39ee1eb7418d34161bd1.zip
Merge pull request #24024 from ndowens/alchemy
alchemy: 007 -> 008
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/alchemy/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/applications/graphics/alchemy/default.nix b/pkgs/applications/graphics/alchemy/default.nix
index 263c411a8dbf..848f132060fe 100644
--- a/pkgs/applications/graphics/alchemy/default.nix
+++ b/pkgs/applications/graphics/alchemy/default.nix
@@ -1,12 +1,14 @@
 {stdenv, fetchurl, jre}:
 
-stdenv.mkDerivation {
-  name = "alchemy-007";
+stdenv.mkDerivation rec {
+  name = "alchemy-${version}";
+  version = "008";
+
   enableParallelBuilding = true;
 
   src = fetchurl {
-    url = http://al.chemy.org/files/Alchemy-007.tar.gz;
-    sha256 = "1pk00m4iajvv9jzv96in10czpcf7zc3d4nmd9biqagpsg28mr70b";
+    url = "http://al.chemy.org/files/Alchemy-${version}.tar.gz";
+    sha256 = "0449bvdccgx1jqnws1bckzs4nv2d230523qs0jx015gi81s1q7li";
   };
 
   installPhase = ''
@@ -20,7 +22,7 @@ stdenv.mkDerivation {
     chmod +x $out/bin/alchemy
   '';
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Drawing application";
     longDescription = ''
       Alchemy is an open drawing project aimed at exploring how we can sketch,
@@ -31,8 +33,8 @@ stdenv.mkDerivation {
       an expanded range of ideas and possibilities in a serendipitous way.
     '';
     homepage = http://al.chemy.org/;
-    license = stdenv.lib.licenses.gpl3Plus;
-    maintainers = [stdenv.lib.maintainers.marcweber];
-    platforms = stdenv.lib.platforms.linux;
+    license = licenses.gpl3Plus;
+    maintainers = [ maintainers.marcweber ];
+    platforms = platforms.linux;
   };
 }