···1+{ lib
2+, fetchPypi
3+, buildPythonPackage
4+}:
5+6+buildPythonPackage rec {
7+ pname = "about-time";
8+ version = "4.2.1";
9+10+ # PyPi release does not contain test files, but the repo has no release tags,
11+ # so while having no tests is not ideal, follow the PyPi releases for now
12+ # TODO: switch to fetchFromGitHub once this issue is fixed:
13+ # https://github.com/rsalmei/about-time/issues/15
14+ src = fetchPypi {
15+ inherit pname version;
16+ hash = "sha256-alOIYtM85n2ZdCnRSZgxDh2/2my32bv795nEcJhH/s4=";
17+ };
18+19+ doCheck = false;
20+21+ pythonImportsCheck = [
22+ "about_time"
23+ ];
24+25+ meta = with lib; {
26+ description = "A cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions";
27+ homepage = "https://github.com/rsalmei/about-time";
28+ license = licenses.mit;
29+ maintainers = with maintainers; [ thiagokokada ];
30+ };
31+}
···1{ lib
2, stdenv
3, fetchurl
4-, fetchpatch
5}:
67stdenv.mkDerivation rec {
8 pname = "pv";
9- version = "1.6.20";
1011 src = fetchurl {
12- url = "https://www.ivarch.com/programs/sources/pv-${version}.tar.bz2";
13- sha256 = "00y6zla8h653sn4axgqz7rr0x79vfwl62a7gn6lzn607zwg9acg8";
14 };
1516- patches = [
17- # Fix build on aarch64-darwin using patch from Homebrew
18- (fetchpatch {
19- url = "https://raw.githubusercontent.com/Homebrew/homebrew-core/0780f1df9fdbd8914ff50ac24eb0ec0d3561c1b7/Formula/pv.rb";
20- sha256 = "001xayskfprri4s2gd3bqwajw6nz6nv0ggb0835par7q7bsd0dzr";
21- })
22- ];
23-24 meta = {
25- homepage = "http://www.ivarch.com/programs/pv";
26 description = "Tool for monitoring the progress of data through a pipeline";
27 license = lib.licenses.artistic2;
28- maintainers = with lib.maintainers; [ ];
29- platforms = with lib.platforms; all;
30 };
31}
···1{ lib
2, stdenv
3, fetchurl
04}:
56stdenv.mkDerivation rec {
7 pname = "pv";
8+ version = "1.7.24";
910 src = fetchurl {
11+ url = "https://www.ivarch.com/programs/sources/pv-${version}.tar.gz";
12+ sha256 = "sha256-O/Q8WAnI1QBm6urqWhFfZQPFejjBUZdbcQqivuhXtl4=";
13 };
140000000015 meta = {
16+ homepage = "https://www.ivarch.com/programs/pv.shtml";
17 description = "Tool for monitoring the progress of data through a pipeline";
18 license = lib.licenses.artistic2;
19+ maintainers = with lib.maintainers; [ matthiasbeyer ];
20+ platforms = lib.platforms.all;
21 };
22}
+2-2
pkgs/tools/security/galer/default.nix
···11 owner = "dwisiswant0";
12 repo = pname;
13 rev = "v${version}";
14- sha256 = "1923071rk078mqk5mig45kcrr58ni02rby3r298myld7j9gfnylb";
15 };
1617- vendorSha256 = "0p5b6cp4ccvcjiy3g9brcwb08wxjbrpsza525fmx38wyyi0n0wns";
1819 meta = with lib; {
20 description = "Tool to fetch URLs from HTML attributes";
···11 owner = "dwisiswant0";
12 repo = pname;
13 rev = "v${version}";
14+ hash = "sha256-i3rrXpKnUV9REnn4lQWIFpWc2SzkxVomruiAmcMBQ6Q=";
15 };
1617+ vendorHash = "sha256-2nJgQfSeo9GrK6Kor29esnMEFmd5pTd8lGwzRi4zq1w=";
1819 meta = with lib; {
20 description = "Tool to fetch URLs from HTML attributes";
+1-1
pkgs/tools/system/hddfancontrol/default.nix
···28 meta = with lib; {
29 description = "Dynamically control fan speed according to hard drive temperature on Linux";
30 homepage = "https://github.com/desbma/hddfancontrol";
31- license = licenses.gpl3;
32 maintainers = with maintainers; [ benley ];
33 };
34}
···28 meta = with lib; {
29 description = "Dynamically control fan speed according to hard drive temperature on Linux";
30 homepage = "https://github.com/desbma/hddfancontrol";
31+ license = licenses.gpl3Only;
32 maintainers = with maintainers; [ benley ];
33 };
34}