about summary refs log tree commit diff
path: root/pkgs/applications/graphics/alchemy
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-18 16:38:41 -0500
committerndowens <ndowens04@gmail.com>2017-03-18 16:38:41 -0500
commit98b9b07a98414805241944a9c7b7087a813099f9 (patch)
treeb8e6ab21360632e1465127e8b1134597ae9cc3a5 /pkgs/applications/graphics/alchemy
parentdd49357a1951466e18dc68cca6f0b4891148938d (diff)
alchemy: 007 -> 008
Diffstat (limited to 'pkgs/applications/graphics/alchemy')
-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 263c411a8dbf6..848f132060fe0 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;
   };
 }