forked from mirrors/nixpkgs
Updating linuxwacom
svn path=/nixpkgs/trunk/; revision=17488
This commit is contained in:
parent
9bcea7563d
commit
dc14fc06da
|
@ -1,12 +1,14 @@
|
|||
{ stdenv, fetchurl, libX11, libXi, inputproto
|
||||
, xproto, ncurses, pkgconfig, xorgserver }:
|
||||
|
||||
let s = import ./src-for-default.nix; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "linuxwacom-0.8.4-1";
|
||||
inherit (s) name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2";
|
||||
sha256 = "1gfsjm9i1c8d0w0g8v9q3xfrpxsmmsc9qlidr5mkwidr070cphz9";
|
||||
url = s.url;
|
||||
sha256 = s.hash;
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 libXi inputproto xproto ncurses pkgconfig xorgserver ];
|
||||
|
|
9
pkgs/misc/linuxwacom/src-for-default.nix
Normal file
9
pkgs/misc/linuxwacom/src-for-default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
rec {
|
||||
version="0.8.4-2";
|
||||
name="linuxwacom-0.8.4-2";
|
||||
hash="0czsmg4danh0ia784nrv4cifvs6wn1dw0mbs6l1ln0w2mvxxkgz0";
|
||||
url="http://downloads.sourceforge.net/linuxwacom/files/linuxwacom/${version}/linuxwacom-${version}.tar.bz2";
|
||||
advertisedUrl="http://downloads.sourceforge.net/linuxwacom/files/linuxwacom/0.8.4-2/linuxwacom-0.8.4-2.tar.bz2";
|
||||
|
||||
|
||||
}
|
7
pkgs/misc/linuxwacom/src-info-for-default.nix
Normal file
7
pkgs/misc/linuxwacom/src-info-for-default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
downloadPage = "http://sourceforge.net/projects/linuxwacom/files/";
|
||||
baseName = "linuxwacom";
|
||||
choiceCommand = ''head -1 | sed -re "$skipRedirectSF"'';
|
||||
versionExtractorSedScript = "\$extractReleaseSF";
|
||||
versionReferenceCreator = "\$(replaceAllVersionOccurences)";
|
||||
}
|
Loading…
Reference in a new issue