More version attribute tidying where maintainers |= nckx

This commit is contained in:
Tobias Geerinckx-Rice
2016-01-25 20:08:34 +01:00
parent 9fb8020e4e
commit ac33b4724a
23 changed files with 43 additions and 90 deletions

View File

@@ -5,12 +5,12 @@
assert lzmaSupport -> xz != null;
let
version = "3.0.11";
mkWith = flag: name: if flag
then "--with-${name}"
else "--without-${name}";
in stdenv.mkDerivation {
in stdenv.mkDerivation rec {
name = "xdelta-${version}";
version = "3.0.11";
src = fetchFromGitHub {
sha256 = "1c7xym7xr26phyf4wb9hh2w88ybzbzh2w3h1kyqq3da0ndidmf2r";
@@ -48,7 +48,6 @@ in stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "Binary differential compression in VCDIFF (RFC 3284) format";
longDescription = ''
xdelta is a command line program for delta encoding, which generates two

View File

@@ -5,12 +5,12 @@
assert lzmaSupport -> xz != null;
let
version = "3.1.0";
mkWith = flag: name: if flag
then "--with-${name}"
else "--without-${name}";
in stdenv.mkDerivation {
in stdenv.mkDerivation rec {
name = "xdelta-${version}";
version = "3.1.0";
src = fetchFromGitHub {
sha256 = "09mmsalc7dwlvgrda56s2k927rpl3a5dzfa88aslkqcjnr790wjy";
@@ -52,7 +52,6 @@ in stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "Binary differential compression in VCDIFF (RFC 3284) format";
longDescription = ''
xdelta is a command line program for delta encoding, which generates two

View File

@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, curl, fuse, libxml2, pkgconfig }:
let
version = "2-20150109";
srcs = {
boxfs2 = fetchFromGitHub {
sha256 = "10af1l3sjnh25shmq5gdnpyqk4vrq7i1zklv4csf1n2nrahln8j8";
@@ -22,8 +21,9 @@ let
owner = "vincenthz";
};
};
in stdenv.mkDerivation {
in stdenv.mkDerivation rec {
name = "boxfs-${version}";
version = "2-20150109";
src = srcs.boxfs2;
@@ -45,7 +45,6 @@ in stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "FUSE file system for box.com accounts";
longDescription = ''
Store files on box.com (an account is required). The first time you run

View File

@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
name = "httping-${version}";
version = "2.4";
src = fetchurl {
@@ -20,7 +19,6 @@ stdenv.mkDerivation rec {
];
meta = with stdenv.lib; {
inherit version;
homepage = http://www.vanheusden.com/httping;
description = "ping with HTTP requests";
longDescription = ''

View File

@@ -1,10 +1,8 @@
{ stdenv, fetchurl, libnfnetlink }:
let
version = "1.5.20160119";
stdenv.mkDerivation rec {
name = "minissdpd-${version}";
in stdenv.mkDerivation {
inherit name;
version = "1.5.20160119";
src = fetchurl {
sha256 = "0z0h2fqjlys9g08fbv0jg8l53h8cjlpdk45z4g71kwdk1m9ld8r2";
@@ -21,7 +19,6 @@ in stdenv.mkDerivation {
doCheck = true;
meta = with stdenv.lib; {
inherit version;
description = "Small daemon to speed up UPnP device discoveries";
longDescription = ''
MiniSSDPd receives NOTIFY packets and stores (caches) that information

View File

@@ -2,8 +2,8 @@
, coreutils, iptables, nettools, openssh, procps }:
pythonPackages.buildPythonPackage rec {
version = "0.76";
name = "sshuttle-${version}";
version = "0.76";
src = fetchurl {
sha256 = "1q0hr0vhdvv23cw5dqndsmf61283mvs6b14662ci00xj6zp5v48b";
@@ -26,7 +26,6 @@ pythonPackages.buildPythonPackage rec {
'';
meta = with stdenv.lib; {
inherit version;
homepage = https://github.com/sshuttle/sshuttle/;
description = "Transparent proxy server that works as a poor man's VPN";
longDescription = ''

View File

@@ -1,10 +1,8 @@
{ stdenv, fetchurl, attr, keyutils }:
let
version = "0.05.00";
stdenv.mkDerivation rec {
name = "stress-ng-${version}";
in stdenv.mkDerivation {
inherit name;
version = "0.05.00";
src = fetchurl {
sha256 = "0ppri86z6fj48nm5l0x1r8mh7mwaf7bvhmi10jz6a8w7apnc181w";
@@ -22,7 +20,6 @@ in stdenv.mkDerivation {
installFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
inherit version;
description = "Stress test a computer system";
longDescription = ''
Stress test a system in various selectable ways, exercising both various