2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2011-10-21 01:43:56 +01:00
|
|
|
|
2016-01-13 02:28:14 +00:00
|
|
|
let version = "0.2"; in
|
2011-10-21 01:43:56 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "regionset";
|
|
|
|
inherit 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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-01-13 02:28:14 +00:00
|
|
|
inherit version;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://linvdr.org/projects/regionset/";
|
2017-12-05 22:20:11 +00:00
|
|
|
description = "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
|
|
|
};
|
|
|
|
}
|