2011-10-21 01:43:56 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2016-01-13 02:28:14 +00:00
|
|
|
let version = "0.2"; in
|
2011-10-21 01:43:56 +01:00
|
|
|
stdenv.mkDerivation {
|
2016-01-13 02:28:14 +00:00
|
|
|
name = "regionset-${version}";
|
2011-10-21 01:43:56 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-01-13 02:28:14 +00:00
|
|
|
url = "http://linvdr.org/download/regionset/regionset-${version}.tar.gz";
|
|
|
|
sha256 = "1fgps85dmjvj41a5bkira43vs2aiivzhqwzdvvpw5dpvdrjqcp0d";
|
2011-10-21 01:43:56 +01:00
|
|
|
};
|
|
|
|
|
2016-01-13 02:28:14 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 {.,$out/bin}/regionset
|
|
|
|
install -Dm644 {.,$out/share/man/man8}/regionset.8
|
|
|
|
'';
|
2011-10-21 01:43:56 +01:00
|
|
|
|
2016-01-13 02:28:14 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit version;
|
|
|
|
homepage = http://linvdr.org/projects/regionset/;
|
2011-10-21 01:43:56 +01:00
|
|
|
descriptions = "Tool for changing the region code setting of DVD players";
|
2016-01-13 02:28:14 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2011-10-21 01:43:56 +01:00
|
|
|
};
|
|
|
|
}
|